package com.hongdee.market.car;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/***
 * @author zhangkai
 */
@Entity
@Table(name = "t_market_car")
public class TmarketCar extends BaseEntity {
    //VIN
    @Column(name = "vin", columnDefinition = "VARCHAR(64) COMMENT '车架号'")
    private String vin;

    //车牌号
    @Column(name = "plate_num", columnDefinition = "VARCHAR(64) COMMENT '车牌号'")
    private String plateNum;

    //品牌名称
    @Column(name = "brand", columnDefinition = "VARCHAR(64) COMMENT '品牌'")
    private String brand;

    //车系名称
    @Column(name = "series", columnDefinition = "VARCHAR(64) COMMENT '车系'")
    private String series;

    //车型名称
    @Column(name = "model", columnDefinition = "VARCHAR(64) COMMENT '车型'")
    private String model;

    //排量
    @Column(name = "displacement", columnDefinition = "VARCHAR(64) COMMENT '排量' ")
    private String displacement;

    //车主
    @Column(name = "owner_name", columnDefinition = "VARCHAR(32) COMMENT '车主姓名'")
    private String ownerName;
    //车主电话
    @Column(name = "owner_tel", columnDefinition = "VARCHAR(32) COMMENT '车主手机'")
    private String ownerTel;
    //车主身份证
    @Column(name = "owner_card_id", columnDefinition = "VARCHAR(32) COMMENT '车主身份证'")
    private String ownerCardId;

    //质保开始日期
    @Column(name = "guarantee_start", columnDefinition = "VARCHAR(32) COMMENT '质保开始日期' ")
    private String guarantee_start;

    //车龄
    @Column(name = "car_age_year", columnDefinition = " INT COMMENT '车龄_年' ")
    private Integer carAgeYear;

    @Column(name = "member_level", length = 32, columnDefinition = "VARCHAR(32) COMMENT '会员等级'")
    private String memberLevel;

    //行驶里程
    @Column(name = "run_mile", columnDefinition = "  DECIMAL(20,2) COMMENT '行驶里程' ")
    private Integer runMile;

    //上次保养日期
    @Column(name = "pre_maintain_date", columnDefinition = " VARCHAR(32)  COMMENT '上次保养日期' ")
    private String preMaintainDate;

    @Column(name = "pre_pay_type", length = 32, columnDefinition = "VARCHAR(32) COMMENT '储值类型'")
    private String prePayType;

    public String getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    //上次维修日期
    @Column(name = "pre_service_date", columnDefinition = " VARCHAR(32)  COMMENT '上次维修日期' ")
    private String preServiceDate;

    //是否当期基盘
    @Column(name = "is_base", columnDefinition = " VARCHAR(32)  COMMENT '是否当期基盘' ")
    private String isBase;

    //导入公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '导入公司ID'")
    private String companyId;

    @Column(name = "sa_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '客户经理ID'")
    private String saId;

    public String getPrePayType() {
        return prePayType;
    }

    public void setPrePayType(String prePayType) {
        this.prePayType = prePayType;
    }

    public String getSaId() {
        return saId;
    }

    public void setSaId(String saId) {
        this.saId = saId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getDisplacement() {
        return displacement;
    }

    public void setDisplacement(String displacement) {
        this.displacement = displacement;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerTel() {
        return ownerTel;
    }

    public void setOwnerTel(String ownerTel) {
        this.ownerTel = ownerTel;
    }

    public String getOwnerCardId() {
        return ownerCardId;
    }

    public void setOwnerCardId(String ownerCardId) {
        this.ownerCardId = ownerCardId;
    }

    public String getGuarantee_start() {
        return guarantee_start;
    }

    public void setGuarantee_start(String guarantee_start) {
        this.guarantee_start = guarantee_start;
    }

    public Integer getCarAgeYear() {
        return carAgeYear;
    }

    public void setCarAgeYear(Integer carAgeYear) {
        this.carAgeYear = carAgeYear;
    }


    public Integer getRunMile() {
        return runMile;
    }

    public void setRunMile(Integer runMile) {
        this.runMile = runMile;
    }

    public String getPreMaintainDate() {
        return preMaintainDate;
    }

    public void setPreMaintainDate(String preMaintainDate) {
        this.preMaintainDate = preMaintainDate;
    }

    public String getPreServiceDate() {
        return preServiceDate;
    }

    public void setPreServiceDate(String preServiceDate) {
        this.preServiceDate = preServiceDate;
    }

    public String getIsBase() {
        return isBase;
    }

    public void setIsBase(String isBase) {
        this.isBase = isBase;
    }
}
